function DisparoBasico(x,y){
	this.x = x;
	this.y = y;
	this.vx = 0;
	this.vy = -10;
	this.w = 32;
	this.h = 32;
	this.started = true;
}

DisparoBasico.prototype ={
	moveDisparos : function(){
		this.x += this.vx;
		this.y += this.vy;	
	},
	
	
	colisionDisparos : function(){
	//COLISIONES CON BLOQUES
		for(var x=0; x< blocks.length;x++){
			if(colisionObjets(this,blocks[x],3)){
				deleteDisparo(this);
				blocks[x].deleteBlock();
			}
		}
	},
	
}

function deleteDisparo(disparo){
	disparos.splice(disparos.indexOf(disparo),1);	
}


//TYPE SPELLS

function Rocket(){
	this.name = rocket;
	this.cd = 5;
	this.timeQcd =0;
	this.dmg = 1;
	this.enable = true;
}